export function login() {
	return new Promise(resolve => {
		setTimeout(() => {
			resolve({
				code: 0,
				data: '假装它是一串token fjdalsfjdflaksjfldsajflkdsjal',
				message: 'success'
			})
		}, 500)
	})
}

export function logout() {
	return new Promise(resolve => {
		setTimeout(() => {
			resolve({
				code: 0,
				data: null,
				message: 'success'
			})
		}, 500)
	})
}
